package cn.jingyuan.bee.utils.exceptions;

import cn.jingyuan.bee.utils.StringUtils;

/**
 * 未初始化异常
 */
public class UninitializedException extends RuntimeException {

    public UninitializedException(Throwable e) {
        super(e);
    }

    public UninitializedException(String message) {
        super(message);
    }

    public UninitializedException(String messageTemplate, Object... params) {
        super(StringUtils.format(messageTemplate, params));
    }

    public UninitializedException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public UninitializedException(Throwable throwable, String messageTemplate, Object... params) {
        super(StringUtils.format(messageTemplate, params), throwable);
    }

}
